#!/bin/sh
before=`pwd`
SHOW=/sys/utilities/show	  # change the path if necessary
				  # notice the path is stored in UN*X format
				  # ie. SYS:utilities changes to /sys/utilities
dirs='/gcc/man /groff/man /u/man' # add other man directories to search for here
				  # directories are in UN*X format
for k in $dirs; do
   cd $k
   i=`where $1.[012345678l]`
   for j in $i; do
      $SHOW $j
   done
done
cd $before
